home *** CD-ROM | disk | FTP | other *** search
/ Softwarová Záchrana 3 / Softwarova-zachrana-3.bin / Xteq X-Setup / xqdcXSP-Setup-EN.exe / {app} / plugins / XQ Norton Speed Disk on Boot.xpl < prev    next >
Text File  |  2003-11-19  |  1KB  |  53 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 6.0"
  2. "TYPE"="5"
  3. "COUNT"="1"
  4. "UIPATH 1"="Startup/Shutdown\Startup\Run on Next Boot"
  5. "NAME"="Run Norton Speed Disk on Next Boot"
  6. "VERSION"="1.21"
  7. "LANGUAGE"="VBScript"
  8. "TEXT 1"="Run Speed Disk on Next Boot"
  9. "DESCRIPTION 1"="Often the Norton Speed Disk operation is continuously interrupted by other disk/program activity."
  10. "DESCRIPTION 2"="Checking the box will cause Speed Disk to start on Bootup; if SD is not desired on boot, it may be stopped after boot."
  11. "DESCRIPTION 3"="NOTE: This plugin is designed to run only on the next restart; whenever you want to run Speed Disk on boot, re-apply the plugin." 
  12. "AUTHOR"="CptSiskoX"
  13. "CONTACTURL"="http://members.fortunecity.com/computingx/"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"=" "
  16.  
  17.  
  18. sP="HKLM\Software\Microsoft\Windows\CurrentVersion\RunOnceEx\"
  19. sV1="SpeedDisk\"
  20. v="Title" 'Stg
  21. v1="Flags" 'Dwrd
  22. v2="Cmd" 'Stg
  23.  
  24.  
  25. Sub Plugin_Initialize 
  26. End Sub
  27.  
  28.  
  29. Sub Plugin_CheckData(ElementIndex)
  30. End Sub
  31.  
  32. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  33.   if ElementIndex=1 then
  34.      Call RegWriteValue(sP&v,"SD at Startup",1)
  35.      Call RegWriteValue(sP&v1,"3",2)
  36.        
  37.      if GetWinVer=2 or GetWinVer=4 then 'NT/2k
  38.         Call RegWriteValue(sp&sv1&v2,"SDNTC.EXE",1)
  39.      else
  40.         Call RegWriteValue(sp&sv1&v2,"SD32",1)
  41.      end if
  42.  
  43.      Call Restart()
  44.   end if
  45. End Sub
  46.  
  47. Sub Plugin_Terminate 
  48. End Sub
  49.  
  50.  
  51.  
  52.  
  53.